<template name="myTeam">
	<div class="contacts-content">
		<div class="list-block contacts-block">
			<div class="list-group">
				{{#if isMonitor}}
				<div class="list-block media-list" style="margin: 10px 0 !important;">
					<ul>
						{{#each my_team}}	
						<li style="padding-left: 30px !important;">
							<a href="#" name="{{_id}}" class="item-link item-content">
								<!-- <div class="item-media"><img class="x7-myCompany-circleImg" src="img/yhy.jpg" width="40" height="40"></div> -->
								<div class="item-inner">
									<div class="item-title-row" style="background-image:none !important">
										<div class="item-title" style="width: 60%;">{{name}}</div>
									</div>
									<div class="item-text">{{college_name}}{{major_name}}{{grade}}级{{class}}班</div>
								</div>
							</a>
			    			</li>
			    			{{/each}}
					</ul>
				</div>
				{{else}}
				<div class="x7-partnerHome-title">
					<ul>
						{{#each my_team}}
						<li class="x7-partnerHome-li" style="border-bottom:1px solid #ddd">
							<div class="item-link item-content">
								<a href="/myTeam?id={{id}}&level_name={{level_name}}" class="item-inner">
									<div class="item-title">
										<span class="x7-partnerHome-name" style="width: 60%;">{{real_name}}</span>								
										<span class="x7-partnerHome-phone">{{school_name}}{{college_name}}{{major_name}}{{grade}}级{{class}}班</span>
									</div>
								</a>
								<div class="x7-partnerHome-select" id="{{id}}">
									      产品销量
								</div>
							</div>
						</li>
						<div class="list-block" id="id_{{id}}" style="margin: 0; display: none;">
						      <ul style="padding-left: 0px;">
						      	{{#each goods}}
						        <li class="item-content" style="padding-left: 15px; min-height: 20px; color: orange;">
						          <div class="item-inner" style="min-height: 20px !important;font-size: 14px; padding-bottom: 0px; padding-top: 0px;">
						            <div class="item-title">{{name}}:{{buy_number}}</div>
						          </div>
						        </li>
						        {{/each}}
						      </ul>
						    </div>
						{{/each}}
					</ul>
				</div>
				{{/if}}
			</div>
		</div>
	</div>
</template>